<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            border: 1px solid #e8e8e8;

        }
        span{
            border: 1px solid blue;
            /*行内元素不能修改宽高*/
            width: 100px;
            height: 100px;
            /*把行内元素改为块级元素block独占一行
            inline-block共战一行 也可以修改宽高
            没写的情况下默认值inline*/
            display: block;
        }
        img{
            /*inline-block共战一行 可修改宽高*/
            width: 100px;
            height: 100px;
            display: none;/*隐藏元素 不可见*/
        }
        a{
            width: 132px;
            height: 40px;
            display: inline-block;
            border: 1px solid blue;
            color: #e8e8e8;
            background-color: blue;
            text-decoration: none;
            text-align: center;
            line-height: 40px;
            font-size: 20px;
            font-weight: normal;
            /*圆角 边框定点 越大越园*/
            border-radius: 5px;
        }
    </style>
</head>
<body>
<a href="">查看详情</a>
<img src="../day01/a.jpg" alt="">
<img src="../day01/a.jpg" alt="">
<img src="../day01/a.jpg" alt="">
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>